package com.designmodel.designmodel.Strategy_Pattern策略模式;


public class Test {
	public static void main(String[] args) {
		Cat[] cat={new Cat(2,2,new CatHeightComparator()),new Cat(1,1,new CatHeightComparator())};
		DataSort.sort(cat);
		DataSort.print(cat);
	}



}
